import request from '@/utils/request'

// 查询盒间移位任务列表
export function listArchiveBoxinnerMoveTask(query) {
  return request({
    url: '/archive/ArchiveBoxinnerMoveTask/list',
    method: 'get',
    params: query
  })
}

// 查询盒间移位任务详细
export function getArchiveBoxinnerMoveTask(taskId) {
  return request({
    url: '/archive/ArchiveBoxinnerMoveTask/' + taskId,
    method: 'get'
  })
}

// 新增盒间移位任务
export function addArchiveBoxinnerMoveTask(data) {
  return request({
    url: '/archive/ArchiveBoxinnerMoveTask',
    method: 'post',
    data: data
  })
}

// 修改盒间移位任务
export function updateArchiveBoxinnerMoveTask(data) {
  return request({
    url: '/archive/ArchiveBoxinnerMoveTask',
    method: 'put',
    data: data
  })
}

// 删除盒间移位任务
export function delArchiveBoxinnerMoveTask(taskId) {
  return request({
    url: '/archive/ArchiveBoxinnerMoveTask/' + taskId,
    method: 'delete'
  })
}
//根据taskid获取档案盒移位列表
export function selectArchiveBoxinnerMoveByTaskId(taskId) {
  return request({
    url: '/archive/ArchiveBoxinnerMove/selectArchiveBoxinnerMoveByTaskId/' + taskId,
    method: 'get'
  })
}
export function editarchiveBoxinnerMovekList(data) {
  return request({
    url: '/archive/ArchiveBoxinnerMove/editarchiveBoxinnerMovekList',
    method: 'post',
    data: data
  })
}

export function updateArchiveBoxinnerMoveTaskStatus(data) {
  return request({
    url: '/archive/ArchiveBoxinnerMoveTask/updateArchiveBoxinnerMoveTaskStatus',
    method: 'post',
    data: data
  })
}
export function archiveBoxinnerMoveTaskResultReport(data) {
  return request({
    url: '/archive/ArchiveBoxinnerMoveTask/archiveBoxinnerMoveTaskResultReport',
    method: 'post',
	data: data
  })
}
